/**
 * 
 */
package uniandes.dermatologia.resources.models;

import org.droidpersistence.annotation.Column;
import org.droidpersistence.annotation.ForeignKey;
import org.droidpersistence.annotation.PrimaryKey;
import org.droidpersistence.annotation.Table;

/**
 * @author Julio
 *
 */
@Table(name="MY_CASE")
public class CaseModel {
	
	@PrimaryKey
	@Column(name="ID")
	private long id;
	
	@Column(name="DESCRIPTION")
	private String description;
	
	@Column(name="TEST_ID")
	@ForeignKey(tableReference="TEST", onDeleteCascade=true, columnReference="ID")
	private long test_id;

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the test_id
	 */
	public long getTest_id() {
		return test_id;
	}

	/**
	 * @param test_id the test_id to set
	 */
	public void setTest_id(long case_id) {
		this.test_id = case_id;
	}
	
	
}
